package com.engineering.elink.domain.hier;

import java.util.Date;

public class HierBrowse {
    private Integer hierBrowId;

    private Integer hierId;

    private String userId;

    private Date time;
    
    public HierBrowse(){
    	
    }
    public HierBrowse(Integer hierId,String userId){
    	this.hierId=hierId;
    	this.userId=userId;
    	this.time=new Date();
    }

    public Integer getHierBrowId() {
        return hierBrowId;
    }

    public void setHierBrowId(Integer hierBrowId) {
        this.hierBrowId = hierBrowId;
    }

    public Integer getHierId() {
        return hierId;
    }

    public void setHierId(Integer hierId) {
        this.hierId = hierId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}